package com.minstone.common.boss.authority.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.minstone.common.boss.authority.bean.ServiceAuthBean;
import com.minstone.common.boss.authority.dao.ServiceAuthDao;
import com.minstone.common.boss.authority.service.IServiceAuthService;

@Service
public class ServiceAuthServiceImpl implements IServiceAuthService {
	
	@Autowired
	private ServiceAuthDao serviceAuthDao;

	@Override
	public ServiceAuthBean findServiceAuthByFwSeqAndSysSeq(String fw_seq, String sys_seq) {
		ServiceAuthBean serviceAuthBean = new ServiceAuthBean();
		serviceAuthBean.setFw_seq(fw_seq);
		serviceAuthBean.setSys_seq(sys_seq);
		return this.serviceAuthDao.findServiceAuthByFwSeqAndSysSeq(serviceAuthBean);
	}

}
